package top.wu2020.lazy.ws.chat.application.assembler;

import top.wu2020.lazy.ws.chat.domain.model.community.comment.CommunityComment;
import top.wu2020.lazy.ws.chat.application.command.community.comment.CommunityCommentRemoveCommand;
import top.wu2020.lazy.ws.chat.application.command.community.comment.CommunityCommentStoryCommand;
import top.wu2020.lazy.ws.chat.application.command.community.comment.CommunityCommentUpdateCommand;
import top.wu2020.lazy.ws.chat.application.command.community.comment.CommunityCommentQueryListCommand;
import top.wu2020.lazy.ws.chat.application.command.community.comment.CommunityCommentQueryOneCommand;
import top.wu2020.lazy.ws.chat.application.dto.CommunityCommentDTO;
import org.mapstruct.factory.Mappers;
import org.mapstruct.Mapper;
/**
 * describe community_comment 
 *
 * @author Jia wei Wu
 * @date 2024/05/24 08:52 晚上
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyAssembler 
 **/
@Mapper
public interface CommunityCommentDTOAssembler {


    /**
     * describe MapStruct 创建的代理对象
     *
     
     
     
     * @author Jia wei Wu
     * @date 2024/05/24 08:52 晚上
     **/
    CommunityCommentDTOAssembler INSTANCE = Mappers.getMapper(CommunityCommentDTOAssembler.class);
    /**
     * describe 应用层存储入参转换成 领域对象
     *
     * @param communityCommentStoryCommand 保存对象     
     * @return {@link CommunityComment} 领域对象     
     
     * @author Jia wei Wu
     * @date 2024/05/24 08:52 晚上
     **/
     CommunityComment toCommunityComment(CommunityCommentStoryCommand communityCommentStoryCommand);
    /**
     * describe 应用层更新入参转换成 领域对象
     *
     * @param communityCommentUpdateCommand 更新对象     
     * @return {@link CommunityComment} 领域对象     
     
     * @author Jia wei Wu
     * @date 2024/05/24 08:52 晚上
     **/
     CommunityComment toCommunityComment(CommunityCommentUpdateCommand communityCommentUpdateCommand);
    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param communityCommentQueryOneCommand 查询单个对象参数     
     * @return {@link CommunityComment} 领域对象     
     
     * @author Jia wei Wu
     * @date 2024/05/24 08:52 晚上
     **/
     CommunityComment toCommunityComment(CommunityCommentQueryOneCommand communityCommentQueryOneCommand);
    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param communityCommentQueryListCommand 查询集合对象参数     
     * @return {@link CommunityComment} 领域对象     
     
     * @author Jia wei Wu
     * @date 2024/05/24 08:52 晚上
     **/
     CommunityComment toCommunityComment(CommunityCommentQueryListCommand communityCommentQueryListCommand);
    /**
     * describe 应用层删除入参转换成 领域对象
     *
     * @param communityCommentRemoveCommand 删除对象参数     
     * @return {@link CommunityComment} 领域对象     
     
     * @author Jia wei Wu
     * @date 2024/05/24 08:52 晚上
     **/
     CommunityComment toCommunityComment(CommunityCommentRemoveCommand communityCommentRemoveCommand);
    /**
     * describe 持久层领域对象转换成DTO对象
     *
     * @param communityComment 领域对象     
     * @return {@link CommunityCommentDTO} DTO对象     
     
     * @author Jia wei Wu
     * @date 2024/05/24 08:52 晚上
     **/
     CommunityCommentDTO fromCommunityComment(CommunityComment communityComment);
}